/*
 * @Date: 2023-03-05 14:38:16
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-07 19:33:58
 * @FilePath: \A19\backend\src\shared\protocols\SourceManage\PtlDeleteFile.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { file } from "../../types/Folder";

export interface ReqDeleteFile extends BaseRequest {
  path: string[];
  course: ObjectId;
  url: string;
}

export interface ResDeleteFile extends BaseResponse {
  folders: Array<string>;
  files: Array<file>;
}

export const conf: BaseConf = {
    needLogin: true,
};
